package com.atguigu.gmall.product.service;


import com.atguigu.gmall.model.product.SkuInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
* @author Zenglingxiao
* @description 针对表【sku_info(库存单元表)】的数据库操作Service
* @createDate 2022-03-06 19:15:27
*/
public interface SkuInfoService extends IService<SkuInfo> {

    /**
     * 添加sku
     * @param skuInfo
     */
    void postsaveSkuInfo(SkuInfo skuInfo);


    /**
     * 查询sku：price-价格
     * @param skuId
     * @return
     */
    BigDecimal getSkuPrice(Long skuId);
}
